<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>Document</title>
  <link rel="stylesheet" href="__PUBLIC__/admin/Css/public.css">
 </head>
 <body>
     <div class="box">
         <h2 style="text-align:center">愿望列表</h2>
         <div class="search">
             <form method="get">
             按愿望发布人姓名查询
             <input type="text"></input>
             <input type="submit" value="搜索"></input>
         </div>
         </form>
	<table class="table">
            <tr>
			<th>ID</th>
			<th>愿望发布者</th>
			<th>愿望内容</th>
			<th>发布时间</th>
			<th>操作</th>
            </tr>

		<foreach name='wish' item='v'>
			<tr>
				<td>{$v.id}</td>
				<td>{$v.name}</td>
				<td>{$v.content}</td>
				<td>{$v.addtime|strtotime|date='Y-m-d H:i',###}</td>
				<td><a href="{:U('Admin/WishManage/del',array('id' => $v['id'])),''}">删除</a></td>
			</tr>
		</foreach>
		<tr>
			<td colspan='5' align='center'>
                            
				{$page}
                            
			</td>
		</tr>
	</table>
     </div>
 </body>
</html>